doctype 5
html
    head
        title= title
        link(rel='stylesheet', href='/stylesheets/style-mobile.css')
        script(type='text/javascript', src='./javascripts/jquery-1.10.2.min.js')
        script(type='text/javascript', src='./javascripts/gameboard.js')
        script(type='text/javascript', src='./javascripts/user-mobile.js')
    body
        #userBar
            table
                tbody
                    tr
                        td.gameLabels Welcome #{username}
                        td
                            input(type='button', id='switchView', value='#{username}').gameViewElements
                        td
                            input(type='button', value='Log Out', onclick="location=href='/logout'").gameViewElements

        br
        hr

        #gameboard-p1
            include gameboard

        #gameboard-p2
            include gameboard

        include message
        #user-mbox
            hr
            table
                tbody
                    tr
                        td
                            label.gameLabels Latitude:&nbsp
                        td
                            label#latLabel 0
                    tr
                        td
                            label.gameLabels Longitude:&nbsp
                        td
                            label#lngLabel 0

            hr
            table
                tbody
                    tr
                        td
                            button#flagButton.gameViewElements Set Flag
                        td
                            button#bombButton.gameViewElements Bomb

            hr
            table
                tbody
                    tr
                        td(style='border:none').gameViewElements Ship Type
                        td(style='border:none').gameViewElements Orientation
                    tr
                        td
                            select#shipSelect.gameViewElements
                                option(value='Destroyer') Destroyer
                                option(value='Cruiser') Cruiser
                                option(value='Submarine') Submarine
                                option(value='Battleship') Battleship
                                option(value='Aircraft Carrier') Aircraft Carrier

                        td
                             select#orientationSelect.gameViewElements
                                option(value='Up') Up
                                option(value='Down') Down
                                option(value='Left') Left
                                option(value='Right') Right

                        td
                            button#placeShipButton.gameViewElements Place Ship

            hr
            table
                tbody
                    tr
                        td
                            input(type='text', name='sensitivity', value='0.00005').gameViewElements
                        td
                            button#sensitivity.gameViewElements Set
            hr




